﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cos.Core.NHibernate;

using NUnit.Framework;

namespace Cos.Module.Form.NHibernate.Test
{
    using Cos.Core.NHibernate.Tests;

    [TestFixture]
    public class SubmissionValueDataModelFixture : ModuleFixtureBase
    {
        [Test]
        public void CanMapSubmissionValueDataModel()
        {
            new PersistenceSpecification<SubmissionValueDataModel>(Session)
                //.CheckReference(x => x.FormElementId, this.FormElement)
                //.CheckComponentList(x => x.SubmissionValueItems, new List<SubmissionValueItemDataModel>())
                //.CheckReference(x => x.Submission, this.Submission)
                .CheckProperty(x => x.Value, "value")
                .VerifyTheMappings();
        }
    }
}
